<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
	<meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width" />
	
	<link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl ?>/lib/bootstrap/css/bootstrap.min.css" />
	<link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl ?>/css/login.css" />
	<script src="<?php echo Yii::app()->theme->baseUrl ?>/lib/modernizr-2.6.2.min.js"></script>
	<?php Yii::app()->getClientScript()->registerCoreScript('jquery') ?>
</head>
<body>
	<?php $flashes = Yii::app()->user->getFlashes() ?>
	<?php if (!empty($flashes)): ?>
	<div class="container-fluid">
		<?php foreach($flashes as $k => $msg): ?>
		<div class="alert alert-<?php echo $k ?>">
			<i data-dismiss="alert" class="icon-remove close"></i>
			<?php echo $msg ?>
		</div>
		<?php endforeach ?>
	</div>
	<?php endif ?>
	
	<?php echo $content; ?>

	<script src="<?php echo Yii::app()->theme->baseUrl ?>/lib/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>
